home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
game
/
patch
/
WHDIGamesS-T.lzh
/
Striker.lha
/
Install
next >
Wrap
Text File
|
1980-09-01
|
3KB
|
153 lines
;****************************
(set #readme-file "Readme")
(run ("CPU NOCACHE"))
(procedure P_ChkRun
(if
(= 0 (run ("cd SYS:\nWhich %s" #program)))
("")
(abort
(cat
"You must install \"" #program "\" first!\n"
"It must be accessible via the path.\n"
"You can find it in the WHDLoad package."
)
)
)
)
(if
(exists #readme-file)
(if
(= 0 (run ("SYS:Utilities/Multiview %s" #readme-file)))
("")
(run ("SYS:Utilities/More %s" #readme-file))
)
)
(set #program "WHDLoad")
(P_ChkRun)
(set @default-dest
(askdir
(prompt
(cat
"Where should \"" @app-name "\" installed ?\n"
"A drawer \"" @app-name "\" will automatically created."
)
)
(help @askdir-help)
(default @default-dest)
(disk)
)
)
(set #dest (tackon @default-dest @app-name))
(if
(exists #dest)
(
(set #choice
(askbool
(prompt
(cat
"\nDirectory \"" #dest "\" already exists.\n"
"Should it be deleted?"
)
)
(default 1)
(choices "Delete" "Skip")
(help @askbool-help)
)
)
(if
(= #choice 1)
(run ("Delete \"%s\" \"%s.info\" All" #dest #dest))
)
)
)
(makedir #dest
(help @makedir-help)
(infos)
)
;----------------------------
(run ("Striker.Imager")
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG7"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG9"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG8"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG3"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG4B"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG5"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG6"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG1b"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG1AB"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIG2B"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("ram:AMIGA"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("Striker.slave"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("Striker.info"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("Readme"))
(dest #dest)
)
(copyfiles
(help @copyfiles-help)
(source ("Readme.info"))
(dest #dest)
)
(run ("CPU CACHE"))